﻿<%@ Page Title="" Language="C#" MasterPageFile="~/N2/Content/Framed.Master" AutoEventWireup="true"
    CodeBehind="Tagged.aspx.cs" Inherits="AWS.N2CMS.Tags.Tagged" %>

<%@ Register Assembly="N2" Namespace="N2.Web.UI.WebControls" TagPrefix="n2" %>
<asp:Content ID="Content4" ContentPlaceHolderID="Content" runat="server">
    <h1>
        Tagged</h1>
    <asp:Repeater runat="server" ID="rptrTaggedGroups" OnItemDataBound="rptrTaggedGroups_ItemDataBound">
        <ItemTemplate>
            <h2>
                <%#Eval("GroupName") %>
            </h2>
            <asp:GridView ID="gvTagged" DataKeyNames="ID" runat="server" AutoGenerateColumns="false"
                EmptyDataText="There are no tagged items" CssClass="gv" AlternatingRowStyle-CssClass="alt">
                <Columns>
                    <asp:TemplateField HeaderText="Title" meta:resourceKey="colTitle">
                        <ItemTemplate>
                            <asp:HyperLink ID="hlDeletedItem" runat="server" NavigateUrl='<%# Eval("Url") %>'>
                                <asp:Image ID="Image1" runat="server" ImageUrl='<%# Eval("IconUrl") %>' />
                                <%# Eval("Title") %>
                            </asp:HyperLink>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
        </ItemTemplate>
    </asp:Repeater>
</asp:Content>
